header{
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 900;
    transition: all .3s ease;
    .advise{
        height: 80px;
        width: 100%;
        background-color: rgb(182, 1, 42);
        .container{
            width: 1200px;
            height: 100%;
            margin: 0 auto;
        }
    }
    nav{
        height: 64px;
        border-bottom: 1px solid #f0f1f2;
        transition: all .3s ease;
        .container{
            width: 1200px;
            margin: 0 auto;
            display: flex;
            height: 100%;
            box-sizing: border-box;
            
            h1{
                a{
                    display: block;
                    width: 84px;
                    height: 64px;
                    box-sizing: border-box;
                    padding: 19px 39px 19px 0;
                }
                span{
                    display: inline-block;
                    width: 45px;
                    height: 26px;
                    background: url("https://www1.djicdn.com/dps/303ebb0010bed26e989b7d9966eb0c0b.svg" ) no-repeat;
                }
                
            }
            .box{
                height: 100%;
                flex: 1;
                display: flex;
                justify-content: space-between;

                a{
                    color: #3b3e40;
                    display: block;
                    padding: 25px 16px;
                    line-height: 14px;
                    height: 64px;
                    box-sizing: border-box;
                    cursor: pointer;    
                    &:hover{
                        color: #1897f2;
                    }                
                }
                li{
                    float: left;
                }
                .left{
                    li:last-child a{
                        color: red;
                    }
                    
                }
                
                .left,.right{
                    height: 100%;
                }
                .right{
                    a{
                        font-size: 25px;
                    }
                    .user,.users{
                        position: relative;
                        &:hover div{
                            display: block;
                        }
                        div{
                            display: none;
                            position: fixed;
                            top: 80px;
                            right: 74px;
                            width: 88px;
                            background: #eee;
                            p{
                                padding: 6px 16px;

                            }
                            a{
                                display: inline;
                                padding: 0;
                                color: #414141;
                                font-size: 14px;
                                &:hover{
                                    color: #1897f2;
                                }
                            }
                        }
                    }
                    .users a{
                        font-size: 14px;
                        &:hover{
                            text-decoration: underline;
                        }
                    }
                }
               
            }
            .ac{
                display: none !important;

            }
            #search{
                padding: 16px 0;
                position: relative;
                span{
                    position: absolute;
                    top: 22px;
                    opacity: 0;
                    margin-right: 4px;
                    left: 500px;
                    cursor: pointer;
                    display: inline-block;
                    width: 24px;
                    height: 24px;
                    vertical-align: middle;
                    background: url('/images/search.svg') no-repeat;
                    background-size: 100%;
                }
                input{
                    position: absolute;
                    display: inline-block;
                    left: 215px;
                    width: 640px;
                    outline: none;
                    font-size: 16px;
                    height: 32px;
                    padding: 4px 8px;
                    border: none;
                    vertical-align: middle;
                    display: none;
                }
                i{
                    position: absolute;
                    display: inline-block;
                    width: 24px;
                    height: 24px;
                    position: absolute;
                    top: 50%;
                    color: #616466;
                    cursor: pointer;
                    right: -1000px;
                    margin-top: -12px;
                    background: url('/images/no.svg') 100% 100% no-repeat;
                    background-size: 100%;

                }
                ul{
                    position: absolute;
                    left: 223px;
                    top: 65px;
                    width: 640px;
                    z-index: 10;
                    background-color: #f8f8f8;
                    display: none;
                    li{
                        cursor: pointer;
                        padding: 8px 0;
                        line-height: 16px;
                        color: #706f6f;
                        font-size: 16px;
                    }
                }
            }
        }
    }
    section{
        height: 112px;
        .container{
            width: 1200px;
            height: 100%;
            margin: 0 auto;
            display: flex;
            height: 100%;
            box-sizing: border-box;
            li{
                flex: 1;
                display: flex;
                justify-content: center;
                align-items: center;
                a{
                    display: block;
                    width: 100px;
                    height: 80px;
                    &:hover p{
                        color: #1897f2;
                    }
                    div{
                        height: 56px;
                        text-align: center;
                        overflow: hidden;

                        img{
                            cursor: pointer;
                            transition: all 0.6s;
                            height: 56px;
                            &:hover{
                                transform: scale(1.4);
                            }
                        }
                    }
                    p{
                        color: #3b3e40;
                        text-align: center;
                        font-size: 12px;
                        min-height: 24px;
                        line-height: 24px;
                    }
                }
            }
        }
    }
        
        
    
}


#headCart{
    position: relative;
    span{
        display: block;
        width: 15px;
        height: 15px;
        line-height: 15px;
        background-color: #1897f2;
        color: #fff;
        font-size: 12px;
        text-align: center;
        position: absolute;
        top: 22px;
        left: 40px;
        border-radius: 50%;
    }
}